package com.company;

/**
 * @description:
 * @author: 10445
 * @date: Created in 2020/5/13 17:42
 * @version: v1.0
 * @modified By:
 */
public abstract class Aircraft extends AirTransport{
    public Aircraft() {
    }

    public Aircraft(String id) {
        super(id);
    }
    @Override
    public void drivingMethod() {
        System.out.println("fly");
    }

    @Override
    public void load() {
        System.out.println("fly and take");
    }

    @Override
    public void maintain() {
        System.out.println("换零件");
    }

    @Override
    public void addGas() {
        System.out.println("通过加油机");
    }
}
